def h(n):
    i = 1
    dict1 = {} #创建字典
    while i <= n:
        dict1[i] = i*i #添加n个元素
        i = i+1
    return dict1  #返回字典

import time
print(h(1))
time.sleep (2)

print(h(3))
time.sleep (2)

print(h(5))
time.sleep (2)

print(h(7))
time.sleep (60)
